<template>
  <article class="page">
    <headerbar>筑干教</headerbar>
    <section class="frame-content-sub no-bg">

      <section class="self-height">
        <section class="block">
          <section class="list-icon-btns-nobg">
            <div class="icon-btns">
              <div @click="go('trainingPlan')" class="item">
                <i class="img"><img src="../../../../static/images/dangjian/home/cadreOnline/pxjh.png" alt=""></i>
                <span class="text">培训计划</span>
              </div>
              <div @click="go('trainingplanClassListV2')" class="item">
                <i class="img"><img src="../../../../static/images/dangjian/home/cadreOnline/pxb.png" alt=""></i>
                <span class="text">培训班</span>
              </div>
              <div @click="go('classList')" class="item">
                <i class="img"><img src="../../../../static/images/dangjian/home/cadreOnline/kcb.png" alt=""></i>
                <span class="text">课程表</span>
              </div><!--
              <div @click="go('classHourWarningAdd')" class="item">
                <i class="img"><img src="../../../../static/images/dangjian/home/cadreOnline/xsyj.png" alt=""></i>
                <span class="text">学时预警</span>
              </div>
              <div class="item">
                <i class="img"><img src="../../../../static/images/dangjian/home/cadreOnline/pxjiyj.png" alt=""></i>
                <span class="text">培训计划预警</span>
              </div>-->
              <div @click="go('appraiseManage')" class="item">
                <i class="img"><img src="../../../../static/images/dangjian/home/cadreOnline/grpj.png" alt=""></i>
                <span class="text">评价管理</span>
              </div>
              <div @click="go('classHourStatistics')" class="item">
                <i class="img"><img src="../../../../static/images/dangjian/home/cadreOnline/xstj.png" alt=""></i>
                <span class="text">学时统计</span>
              </div>
              <div @click="go('summarySubmit')" class="item">
                <i class="img"><img src="../../../../static/images/dangjian/home/cadreOnline/zjsb.png" alt=""></i>
                <span class="text">总结上报</span>
              </div>
              <div @click="go('eFile')" class="item">
                <i class="img"><img src="../../../../static/images/dangjian/home/cadreOnline/dzda.png" alt=""></i>
                <span class="text">电子档案</span>
              </div>
              <div @click="coding('cadreTrain')" class="item">
                <i class="img"><img src="../../../../static/images/dangjian/home/cadreOnline/gbtx.png" alt=""></i>
                <span class="text">干部调训</span>
              </div>
              <div @click="go('statisticalAnalysis')" class="item">
                <i class="img"><img src="../../../../static/images/dangjian/home/cadreOnline/tjfx.png" alt=""></i>
                <span class="text">统计分析</span>
              </div>
              <div @click="go('qingjiakuangke')" class="item">
                <i class="img"><img src="../../../../static/images/dangjian/home/cadreOnline/leave.png" alt=""></i>
                <span class="text">请假旷课</span>
              </div>

              <div @click="coding()" class="item">
                <i class="img"><img src="../../../../static/images/dangjian/home/cadreOnline/nice-book.png" alt=""></i>
                <span class="text">好书推荐</span>
              </div>

              <div class="item"></div>
              <div class="item"></div>
            </div>
          </section>
          <div class="pdv-3"></div>
          <div class="pdv-3"></div>
          <div class="pdv-3"></div>
          <div class="pdv-3"></div>
        </section>
      </section>

    </section>
  </article>
</template>

<script>
  import tools from '@/utils/tools'
  export default {
    name: 'cadreOnline',
    methods: {
      go (name) {
        if (name === 'cadreTrain') {
          return this.tools.alert('未开放')
        }
        this.$router.push({name: name})
      },
      coding () {
        return this.tools.alert('未开放')
      }
    }
  }
</script>

<style scoped>

</style>
